<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecs_touch_ad`;");
E_C("CREATE TABLE `ecs_touch_ad` (
  `ad_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `position_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `media_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `ad_name` varchar(255) NOT NULL DEFAULT '',
  `ad_link` varchar(255) NOT NULL DEFAULT '',
  `ad_code` text NOT NULL,
  `start_time` int(11) NOT NULL DEFAULT '0',
  `end_time` int(11) NOT NULL DEFAULT '0',
  `link_man` varchar(60) NOT NULL DEFAULT '',
  `link_email` varchar(60) NOT NULL DEFAULT '',
  `link_phone` varchar(60) NOT NULL DEFAULT '',
  `click_count` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `enabled` tinyint(3) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`ad_id`),
  KEY `position_id` (`position_id`),
  KEY `enabled` (`enabled`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8");
E_D("replace into `ecs_touch_ad` values('1','1','0','1','','data/attached/images/b4ca329bac7a4a93e4fd3088f7bc08d3.jpg','1395993600','1714204800','','','','5','1');");
E_D("replace into `ecs_touch_ad` values('2','1','0','2','','data/attached/images/67864dbb0f6639904276f1b916873b8e.png','1396080000','1682755200','','','','14','1');");
E_D("replace into `ecs_touch_ad` values('4','2','0','亲子特卖','#','data/attached/images/3d997deda47308119ec1fcbc73081049.jpg','1441180800','1656144000','','','','75','1');");
E_D("replace into `ecs_touch_ad` values('5','2','0','居家特卖','#','data/attached/images/21b07aca2478eab51f3b8b510eb6899e.jpg','1441180800','1667030400','','','','78','1');");
E_D("replace into `ecs_touch_ad` values('6','3','0','衣服','#','data/attached/images/6a4ae48d34e794c36cf989eaa35eec62.jpg','1441008000','1635580800','','','','25','1');");
E_D("replace into `ecs_touch_ad` values('7','3','0','鞋子','#','data/attached/images/67cdf4d3fa2fb5da255fa6d72d3ce407.jpg','1441267200','1635580800','','','','52','1');");
E_D("replace into `ecs_touch_ad` values('8','3','0','包包','','data/attached/images/8c6ada728bc321578fc068e2120079f3.jpg','1441267200','1635580800','','','','19','1');");
E_D("replace into `ecs_touch_ad` values('9','3','0','配饰','','data/attached/images/af037ae22fb26fd398bcd4dc29ade4e0.jpg','1441180800','1635580800','','','','34','1');");
E_D("replace into `ecs_touch_ad` values('14','2','0','服饰特卖','index.php?m=default&amp;c=category&amp;a=index&amp;id=1014','data/attached/images/bfbe2b2d5b6213fa0bbc808d9bac378f.jpg','1441267200','1667116800','','','','75','1');");
E_D("replace into `ecs_touch_ad` values('13','2','0','美妆特卖','#','data/attached/images/f64bf8c1485b69412a0c9c2d1701eca2.jpg','1441353600','1667030400','','','','71','1');");

require("../../inc/footer.php");
?>